package tedu.study.ooday04_2;

public class AnonInnerClassDemo {
    public static void main(String[] args) {
        int x = 100;
        Aoo o1 = new Aoo() {
            int m;
            void say(){
                System.out.println(x);
                System.out.println(m);
                //x = 50;
            }

        };
        o1.say();

        //Aoo o3 = new Boo();

    }
}


abstract class Boo extends Aoo{

}


abstract class Aoo{
    abstract void say();
}
